# -*- coding: utf-8 -*-
# @Time    : 2022/7/15 22:03
# @Author  : catherine
# @Email   : catherine_csq@163.com
# @File    : tools.py
# @Software: PyCharm

from selenium import webdriver

def chrome_driver():
    '''创建浏览器，打开浏览器，返回浏览器'''
    driver=webdriver.Chrome()
    driver.implicitly_wait(30)
    driver.maximize_window()
    return driver